package com.qianbei.view.orm;

import com.google.gson.annotations.Expose;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * <pre>
 *     author : pipi
 *     e-mail : xxx@xx
 *     time   : 2018/07/25
 *     desc   : bug001把内存缓存改成数据库缓存
 *     version: 1.0
 * </pre>
 */
@Entity
public class RequestPersistent {
    @Id(autoincrement = true)
    private Long id;
    private String serviceMethod;//": "login",
    private String serviceName;//: "com.cygps.dubbo.WasteTransport.IloginByUser",
    private String serviceBody;//:
    private String methodClass;//class的全类名
    private String type;
    @Generated(hash = 474510071)
    public RequestPersistent(Long id, String serviceMethod, String serviceName,
            String serviceBody, String methodClass, String type) {
        this.id = id;
        this.serviceMethod = serviceMethod;
        this.serviceName = serviceName;
        this.serviceBody = serviceBody;
        this.methodClass = methodClass;
        this.type = type;
    }
    @Generated(hash = 676958418)
    public RequestPersistent() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getServiceMethod() {
        return this.serviceMethod;
    }
    public void setServiceMethod(String serviceMethod) {
        this.serviceMethod = serviceMethod;
    }
    public String getServiceName() {
        return this.serviceName;
    }
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
    public String getServiceBody() {
        return this.serviceBody;
    }
    public void setServiceBody(String serviceBody) {
        this.serviceBody = serviceBody;
    }
    public String getMethodClass() {
        return this.methodClass;
    }
    public void setMethodClass(String methodClass) {
        this.methodClass = methodClass;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }

}
